package com.ita.tba.po;

import java.util.Date;
import java.util.HashMap;
import java.util.Map;

public class OrderList {
	private Map<Integer, Integer> didNum =  new HashMap<Integer, Integer>();
	private int uid;
	private int oid;
	private double totalPrice;
	private String time;
	Map<String, Integer> dnameNum = new HashMap<String, Integer>();
	
	public OrderList(int uid, int oid, double totalPrice, String time, Map<String, Integer> dnameNum) {
		super();
		this.uid = uid;
		this.oid = oid;
		this.totalPrice = totalPrice;
		this.time = time;
		this.dnameNum = dnameNum;
	}

	public OrderList() {
		super();
		// TODO Auto-generated constructor stub
	}

	public Map<String, Integer> getDnameNum() {
		return dnameNum;
	}

	public void setDnameNum(Map<String, Integer> dnameNum) {
		this.dnameNum = dnameNum;
	}

	public OrderList(Map<Integer, Integer> didNum, int uid, double totalPrice, String time) {
		super();
		this.didNum = didNum;
		this.uid = uid;
		this.totalPrice = totalPrice;
		this.time = time;
	}

	public Map<Integer, Integer> getDidNum() {
		return didNum;
	}

	public void setDidNum(Map<Integer, Integer> didNum) {
		this.didNum = didNum;
	}

	public int getUid() {
		return uid;
	}

	public void setUid(int uid) {
		this.uid = uid;
	}

	public int getOid() {
		return oid;
	}

	public void setOid(int oid) {
		this.oid = oid;
	}

	public double getTotalPrice() {
		return totalPrice;
	}

	public void setTotalPrice(double totalPrice) {
		this.totalPrice = totalPrice;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}
	
	
}
